package xcmg.syn.service.vo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@ToString
@Data
@ApiModel(value = "MmJisoPoHead", description = "//MM_JISO_PO_HEAD")
public class MmJisoPoHeadVO implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "", name = "poHeadId")
    private Long poHeadId;

    @ApiModelProperty(value = "", name = "poNumber")
    private String poNumber;

    @ApiModelProperty(value = "", name = "arrFactory")
    private String arrFactory;

    @ApiModelProperty(value = "", name = "supplierno")
    private String supplierno;

    @ApiModelProperty(value = "", name = "factoryid")
    private String factoryid;

    @ApiModelProperty(value = "", name = "warehouse")
    private String warehouse;

    @ApiModelProperty(value = "", name = "sourcesCode")
    private Integer sourcesCode;

    @ApiModelProperty(value = "", name = "sendTime")
    private Date sendTime;

    @ApiModelProperty(value = "", name = "arriveTime")
    private Date arriveTime;

    @ApiModelProperty(value = "", name = "printstatus")
    private Integer printstatus;

    @ApiModelProperty(value = "", name = "printdate")
    private Date printdate;
    //0-未发货1-部分发货2-全部发货
    @ApiModelProperty(value = "0-未发货 1-部分发货 2-全部发货", name = "deliveryStatus")
    private Integer deliveryStatus;
    //0-未收货1 - 部分收货2-全部收货
    @ApiModelProperty(value = "0-未收货 1-部分收货 2-全部收货", name = "receiveStatus")
    private Integer receiveStatus;

    @ApiModelProperty(value = "", name = "doFlag")
    private String doFlag;

    @ApiModelProperty(value = "", name = "delFlg")
    private String delFlg;

    @ApiModelProperty(value = "", name = "entryid")
    private String entryid;

    @ApiModelProperty(value = "", name = "entrydate")
    private Date entrydate;

    @ApiModelProperty(value = "", name = "modifyid")
    private String modifyid;

    @ApiModelProperty(value = "", name = "modifydate")
    private Date modifydate;

    @ApiModelProperty(value = "", name = "routeCode")
    private String routeCode;
    //车次:1-999循环
    @ApiModelProperty(value = "车次:1-999循环", name = "carBatch")
    private Integer carBatch;
    //车次一直递增
    @ApiModelProperty(value = "车次一直递增", name = "carBatchHis")
    private Long carBatchHis;

    @ApiModelProperty(value = "", name = "purchaseOrderno")
    private String purchaseOrderno;

    @ApiModelProperty(value = "", name = "getPurorderTime")
    private Date getPurorderTime;

    @ApiModelProperty(value = "", name = "shCount")
    private Integer shCount;

    @ApiModelProperty(value = "", name = "dealFlag")
    private Integer dealFlag;

    @ApiModelProperty(value = "", name = "dealTime")
    private Date dealTime;

    @ApiModelProperty(value = "", name = "billEmptyFlag")
    private Integer billEmptyFlag;

    @ApiModelProperty(value = "", name = "tbTime")
    private Date tbTime;

    private List<MmJisoPoLineVoteVO> detailList;

    @ApiModelProperty(value = "minOrderId", name = "minOrderId")
    private Long minOrderId;

    @ApiModelProperty(value = "最后更新时间", name = "lastModifiedTimeStart")
    private Date lastModifiedTimeStart;

    @ApiModelProperty(value = "每批查询的数量", name = "limitNum")
    private Integer limitNum;

    //不存在，pms使用
    private String orgId;
    private String supplierOrgId;
    private String supplierName;
}
